package com.tunan.common.resultSub;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.tunan.common.Result;

public class ResultSuccess extends Result {
	private String ack_code = "SUCCESS";
	
	@JsonInclude(Include.NON_NULL) //对象为NUll时Json不返回
	private Object data;

	public ResultSuccess() {
		super();
	}

	public ResultSuccess(Object data) {
		super();
		this.data = data;
	}
	
	public String getAck_code() {
		return ack_code;
	}

	public void setAck_code(String ack_code) {
		this.ack_code = ack_code;
	}
	
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}

}
